{% extends "base.html" %}

{% block content %}
    <script src="{{ url_for('static',filename='assets/js/theme.js') }}"></script>
    <div class="am-g tpl-g">
        <!-- 风格切换 -->
        <div class="tpl-skiner">
            <div class="tpl-skiner-toggle am-icon-cog">
            </div>
            <div class="tpl-skiner-content">
                <div class="tpl-skiner-content-title">
                    选择主题
                </div>
                <div class="tpl-skiner-content-bar">
                    <span class="skiner-color skiner-white" data-color="theme-white"></span>
                    <span class="skiner-color skiner-black" data-color="theme-black"></span>
                </div>
            </div>
        </div>
        <div class="tpl-login">
            <div class="tpl-login-content">
                <div class="tpl-login-logo">

                </div>

                {% include 'common/message.html' %}
                <form class="am-form tpl-form-line-form" action="{{ url_for("auth.login") }}" method="post">
                    {{ form.csrf_token }}
                    <div class="am-form-group">
                        {{ form.username }}
                    </div>

                    <div class="am-form-group">
                        {{ form.password }}
                    </div>

                    <div class="am-form-group tpl-login-remember-me">
                        {{ form.remember }}
                        {{ form.remember.label }}
                    </div>


                    <div class="am-form-group">
                        {{ form.submit }}
                    </div>
                </form>
            </div>
        </div>
    </div>
{% endblock %}

{% block script %}
    <script src="{{ url_for('static',filename='assets/js/app.js') }}"></script>
{% endblock %}
